package com.hknc.btscale.bean;

import java.util.List;

public class SaveOrderBean {

    /**
     * goods : [{"goodsId":0,"marketId":0,"merchantId":0,"price":0,"stallId":0,"unit":0,"weight":0}]
     * orderNo :
     * paymentMethod :
     */

    private String orderNo;
    private String paymentMethod;
    private String isReceipt;
    private String originalData;

    public String getOriginalData() {
        return originalData;
    }

    public void setOriginalData(String originalData) {
        this.originalData = originalData;
    }

    public String getIsReceipt() {
        return isReceipt;
    }

    public void setIsReceipt(String isReceipt) {
        this.isReceipt = isReceipt;
    }

    /**
     * goodsId : 0
     * marketId : 0
     * merchantId : 0
     * price : 0
     * stallId : 0
     * unit : 0
     * weight : 0
     */

    private List<GoodsBean> goods;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }

    public static class GoodsBean {
        private int goodsId;
        private int marketId;
        private int merchantId;
        private int price;
        private int stallId;
        private int unit;
        private int weight;
        private int plu;
        private int goodsName;

        public int getPlu() {
            return plu;
        }

        public void setPlu(int plu) {
            this.plu = plu;
        }

        public int getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(int goodsName) {
            this.goodsName = goodsName;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public int getMarketId() {
            return marketId;
        }

        public void setMarketId(int marketId) {
            this.marketId = marketId;
        }

        public int getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(int merchantId) {
            this.merchantId = merchantId;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getStallId() {
            return stallId;
        }

        public void setStallId(int stallId) {
            this.stallId = stallId;
        }

        public int getUnit() {
            return unit;
        }

        public void setUnit(int unit) {
            this.unit = unit;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }
    }
}
